//模块配置
require.config({
  //baseUrl: 'c',
  // paths: {
  //   'jquery': '../js/jquery/jquery',
  //   'validation': '../js/jquery-validation/dist/jquery.validate',
  //   'validation-lang': '../js/jquery-validation/src/localization/messages_zh',
  //   'validation-method': '../js/jquery-validation/dist/additional-methods',
  //   'selectReg': '../js/jselect/j-select-reg',
  //   'layer': '../js/layer/src/layer',
  //   'superslide': '../js/superslide/superslide',
  //   'webupload': '../js/webupload/webuploader.min',
  //   'webuploadCss': '../js/webupload/webupload',
  // },
   packages: [{
    name: "codemirror",
    location: "../path/to/codemirror",
    main: "../lib/codemirror"
  }],
  shim: {
    jquery: {
      exports: '$'
    },
    'validation': {
      deps: ['jquery']
    },
    'validation-lang': {
      deps: ['jquery', 'validation']
    }
  },
  map: {
    '*': {
      'text': '../js/requirejs/text.js'
    }
  }
});